﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace dis.sys.hw1.Model
{
    [DataContract]
    public class Hotel
    {
        [DataMember]
        public double Stars { get; set; }

        [DataMember]
        public double Rating { get; set; }

        [DataMember]
        public string Name { get; set; }

        [DataMember]
        public string Alliance { get; set; }

        [DataMember]
        public IList<HotelRoom> Rooms { get; set; }

        [DataMember]
        public IDictionary<int, HotelRoom> Reservations { get; set; }

        [DataMember]
        public int BookingId { get; set; }
    }
}
